#ifndef Response_H
#define Response_H
#include <QtGui>
#include "IResponse.h"
#include "AssetData.h"

namespace XpsAssets
{
	class ResponseAttribute;

	class Response : public virtual IResponse, public AssetData
	{
		QString	m_Text;
		QMap<int, ResponseAttribute*> m_Attributes;

	public:
		Response(void) : AssetData(RESPONSE) {};
		~Response(void) { qDeleteAll(m_Attributes); };

		// set/get
		void setText(QString text) { m_Text = text; };
		QString	text() { return m_Text; };
		QMap<int, ResponseAttribute*>* attributes() { return &m_Attributes; };
	};

}
#endif
